package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.SqlType;
import org.zoomdev.zoom.dao.ddl._DDL_Column;
import org.zoomdev.zoom.dao.ddl._DDL_Primary;
import org.zoomdev.zoom.dao.ddl._DDL_Table;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_Table(name = "wechat_change_account", simpleName = "", engine = MysqlDriver.MyISAM, comment = "微信换绑账户")
public class _DDL_WechatChangeAccount {

    @_DDL_Primary()
    @_DDL_Column(name = "CHANGE_ID", type = SqlType.INT, nullable = false, autoIncrement = true, comment = "变更ID")
    private Integer id;

    @_DDL_Column(name = "WECHAT_APPID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信应用ID")
    private String wechatAppid;

    @_DDL_Column(name = "WECHAT_OPENID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信用户标识")
    private String wechatOpenid;

    @_DDL_Column(name = "OLD_USER_ID", type = SqlType.INT, nullable = false, comment = "旧用户ID")
    private Integer oldUserId;

    @_DDL_Column(name = "NEW_USER_ID", type = SqlType.INT, nullable = false, comment = "新用户ID")
    private Integer newUserId;

    @_DDL_Column(name = "CHANGE_TIME", type = SqlType.VARCHAR, size = 19, nullable = false, comment = "变更时间")
    private String time;

}
